package com.asap.demo.model;

import java.io.Serializable;
import java.util.List;

public class Relation implements Serializable {

	private static final long serialVersionUID = -7422799506271879198L;

	private String relationCondition;
	private String relationTimeField;
	private int relationTimeWindow;
	private int relationSecTimeWindow;
	private String relationTimeUnit;
	private String OutputUnrelatedA;
	private String OutputTrigger;
	private String relationSlidingWindow;
	private List<RelationBean> relations;

	public String getRelationCondition() {
		return relationCondition;
	}

	public void setRelationCondition(String relationCondition) {
		this.relationCondition = relationCondition;
	}

	public String getRelationTimeField() {
		return relationTimeField;
	}

	public void setRelationTimeField(String relationTimeField) {
		this.relationTimeField = relationTimeField;
	}

	public int getRelationTimeWindow() {
		return relationTimeWindow;
	}

	public void setRelationTimeWindow(int relationTimeWindow) {
		this.relationTimeWindow = relationTimeWindow;
	}

	public int getRelationSecTimeWindow() {
		return relationSecTimeWindow;
	}

	public void setRelationSecTimeWindow(int relationSecTimeWindow) {
		this.relationSecTimeWindow = relationSecTimeWindow;
	}

	public String getRelationTimeUnit() {
		return relationTimeUnit;
	}

	public void setRelationTimeUnit(String relationTimeUnit) {
		this.relationTimeUnit = relationTimeUnit;
	}

	public List<RelationBean> getRelations() {
		return relations;
	}

	public void setRelations(List<RelationBean> relations) {
		this.relations = relations;
	}

	public String getOutputUnrelatedA() {
		return OutputUnrelatedA;
	}

	public String getOutputTrigger() {
		return OutputTrigger;
	}

	public void setOutputUnrelatedA(String outputUnrelated) {
		OutputUnrelatedA = outputUnrelated;
	}

	public void setOutputTrigger(String outputTrigger) {
		OutputTrigger = outputTrigger;
	}

	public void setRelationSlidingWindow(String relationSlidingWindow) {
		this.relationSlidingWindow = relationSlidingWindow;
	}

	public String getRelationSlidingWindow() {
		return relationSlidingWindow;
	}

	@Override
	public String toString() {
		return " [relationCondition=" + relationCondition + ", relationTimeField=" + relationTimeField
				+ ", relationTimeWindow=" + relationTimeWindow + ", relationSecTimeWindow=" + relationSecTimeWindow
				+ ", relationTimeUnit=" + relationTimeUnit + ", relations=" + relations + "]";
	}
}
